home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple AUX 3.0
/
Apple AUX 3.0.iso
/
MacInstallFiles
/
Printing
/
LQ AppleTalk ImageWriter
/
LQ AppleTalk ImageWriter.rsrc
/
bin.rsrc_DRVR_-8192_.XPrint.txt
< prev
next >
Wrap
Text File
|
1991-04-25
|
35KB
|
642 lines
# name: .Print
# flags: 0x0C00 (ENABLE_CONTROL, ENABLE_STATUS)
# delay: 0
# event mask: 0x0000
# menu id: 0
# open label: 0000
# prime label: 0006
# control label: 00C6
# status label: 0132
# close label: 000A
open:
00000000 137C 0046 0007 move.b [A1 + 0x7], 0x46 /* 'F' */
prime:
00000006 7000 moveq.l D0, 0x00
00000008 4E75 rts
close:
0000000A 7000 moveq.l D0, 0x00
0000000C 4E75 rts
label0000000E:
0000000E 2255 movea.l A1, [A5]
00000010 0C38 003F 028E cmpi.b [0x0000028E /* ROM85 */], 0x3F /* '?' */
00000016 661E bne +0x20 /* 00000036 */
00000018 2478 08A4 movea.l A2, [0x000008A4 /* MainDevice */]
0000001C 2452 movea.l A2, [A2]
0000001E 246A 0016 movea.l A2, [A2 + 0x16]
00000022 2452 movea.l A2, [A2]
00000024 0C6A 0001 0020 cmpi.w [A2 + 0x20], 0x1
0000002A 670A beq +0xC /* 00000036 */
0000002C 3F3C 0008 move.w -[A7], 0x8
00000030 A9C8 syscall SysBeep
00000032 6000 0088 bra +0x8A /* 000000BC */
label00000036:
00000036 45E9 FF86 lea.l A2, [A1 - 0x7A]
0000003A 214A 001C move.l [A0 + 0x1C], A2
0000003E 45E9 FF8C lea.l A2, [A1 - 0x74]
00000042 214A 0020 move.l [A0 + 0x20], A2
00000046 217C 0000 0001 0024 move.l [A0 + 0x24], 0x1
0000004E 6100 0166 bsr +0x168 /* 000001B6 */
00000052 6068 bra +0x6A /* 000000BC */
label00000054:
00000054 2C48 movea.l A6, A0
00000056 594F subq.w A7, 4
00000058 A924 syscall FrontWindow
0000005A 2457 movea.l A2, [A7]
0000005C 4A9F tst.l [A7]+
0000005E 675C beq +0x5E /* 000000BC */
00000060 0C38 003F 028E cmpi.b [0x0000028E /* ROM85 */], 0x3F /* '?' */
00000066 661C bne +0x1E /* 00000084 */
00000068 2278 08A4 movea.l A1, [0x000008A4 /* MainDevice */]
0000006C 2251 movea.l A1, [A1]
0000006E 2269 0016 movea.l A1, [A1 + 0x16]
00000072 2251 movea.l A1, [A1]
00000074 0C69 0001 0020 cmpi.w [A1 + 0x20], 0x1
0000007A 6708 beq +0xA /* 00000084 */
0000007C 3F3C 0008 move.w -[A7], 0x8
00000080 A9C8 syscall SysBeep
00000082 6038 bra +0x3A /* 000000BC */
label00000084:
00000084 514F subq.w A7, 8
00000086 264F movea.l A3, A7
00000088 41EA 0002 lea.l A0, [A2 + 0x2]
0000008C 2D48 001C move.l [A6 + 0x1C], A0
00000090 2D4B 0020 move.l [A6 + 0x20], A3
00000094 2D7C 0000 0001 0024 move.l [A6 + 0x24], 0x1
0000009C 2F0B move.l -[A7], A3
0000009E 2F2A 0008 move.l -[A7], [A2 + 0x8]
000000A2 246A 0072 movea.l A2, [A2 + 0x72]
000000A6 2452 movea.l A2, [A2]
000000A8 544A addq.w A2, 2
000000AA 26DA move.l [A3]+, [A2]+
000000AC 2692 move.l [A3], [A2]
000000AE A8A8 syscall OffsetRect
000000B0 A852 syscall HideCursor
000000B2 204E movea.l A0, A6
000000B4 6100 0100 bsr +0x102 /* 000001B6 */
000000B8 A853 syscall ShowCursor
000000BA 504F addq.w A7, 8
label000000BC:
000000BC 6100 029C bsr +0x29E /* 0000035A */
000000C0 6100 0456 bsr +0x458 /* 00000518 */
000000C4 607E bra +0x80 /* 00000144 */
control:
000000C6 48E7 00C0 movem.l -[A7], A0,A1
000000CA 3028 001A move.w D0, [A0 + 0x1A]
000000CE 5940 subq.w D0, 4
000000D0 6606 bne +0x8 /* 000000D8 */
000000D2 6100 00E2 bsr +0xE4 /* 000001B6 */
000000D6 606C bra +0x6E /* 00000144 */
label000000D8:
000000D8 5340 subq.w D0, 1
000000DA 6606 bne +0x8 /* 000000E2 */
000000DC 6100 046C bsr +0x46E /* 0000054A */
000000E0 6062 bra +0x64 /* 00000144 */
label000000E2:
000000E2 5340 subq.w D0, 1
000000E4 6618 bne +0x1A /* 000000FE */
000000E6 6100 034C bsr +0x34E /* 00000434 */
000000EA 6100 0266 bsr +0x268 /* 00000352 */
000000EE 2057 movea.l A0, [A7]
000000F0 0C28 0001 001D cmpi.b [A0 + 0x1D], 0x1
000000F6 6700 FF5C beq -0xA2 /* 00000054 */
000000FA 6000 FF12 bra -0xEC /* 0000000E */
label000000FE:
000000FE 5340 subq.w D0, 1
00000100 6642 bne +0x44 /* 00000144 */
00000102 3028 001C move.w D0, [A0 + 0x1C]
00000106 5340 subq.w D0, 1
00000108 660A bne +0xC /* 00000114 */
0000010A 6100 0328 bsr +0x32A /* 00000434 */
0000010E 6100 0242 bsr +0x244 /* 00000352 */
00000112 6030 bra +0x32 /* 00000144 */
label00000114:
00000114 5340 subq.w D0, 1
00000116 6606 bne +0x8 /* 0000011E */
00000118 6100 0240 bsr +0x242 /* 0000035A */
0000011C 6026 bra +0x28 /* 00000144 */
label0000011E:
0000011E 5340 subq.w D0, 1
00000120 6606 bne +0x8 /* 00000128 */
00000122 6100 04B2 bsr +0x4B4 /* 000005D6 */
00000126 601C bra +0x1E /* 00000144 */
label00000128:
00000128 5540 subq.w D0, 2
0000012A 6618 bne +0x1A /* 00000144 */
0000012C 6100 03EA bsr +0x3EC /* 00000518 */
00000130 6012 bra +0x14 /* 00000144 */
status:
00000132 48E7 00C0 movem.l -[A7], A0,A1
00000136 2268 001C movea.l A1, [A0 + 0x1C]
0000013A 41FA 0016 lea.l A0, [PC + 0x16 /* 00000152, value 0x500050 'P\0P', cstring "" */]
0000013E 701C moveq.l D0, 0x1C
00000140 A02E syscall BlockMove/BlockMoveData
00000142 7000 moveq.l D0, 0x00
label00000144:
00000144 4CDF 0300 movem.l A0,A1, [A7]+
00000148 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
0000014C 2078 08FC movea.l A0, [0x000008FC /* JIODone */]
00000150 4ED0 jmp [A0]
00000152 0050 0050 ori.w [A0], 0x50 /* 'P' */
00000156 0002 0201 ori.b D2, 0x1
0000015A 0400 0000 subi.b D0, 0x0
0000015E 0005 0102 ori.b D5, 0x2
00000162 0502 btst D2, D2
00000164 0400 00FE subi.b D0, 0xFE
00000168 0000 0201 ori.b D0, 0x1
0000016C 0302 btst D2, D1
0000016E 0050 0048 ori.w [A0], 0x48 /* 'H' */
00000172 0000 213E ori.b D0, 0x3E /* '>' */
00000176 0010 0010 ori.b [A0], 0x10
0000017A 0008 0008 ori.b A0, 0x8
0000017E 0001 0048 ori.b D1, 0x48 /* 'H' */
00000182 0048 0000 ori.w A0, 0x0
00000186 213E move.l -[A0], <<i